//
//  SYSendVideoViewController.m
//  SanYiTeaching
//
//  Created by ChenHao on 2019/9/9.
//  Copyright © 2019 SanYi. All rights reserved.
//

#import "SYSendVideoViewController.h"

@interface SYSendVideoViewController ()

@end

@implementation SYSendVideoViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}
-(void)cancelButtonClick{
    
    [self dismissViewControllerAnimated:YES completion:nil];

    if (self.cancelBtnClickAndBanck) {
        self.cancelBtnClickAndBanck();
    }
}
//支持旋转
-(BOOL)shouldAutorotate{
    return YES;
    
}
//支持的方向
- (UIInterfaceOrientationMask)supportedInterfaceOrientations {
    return UIInterfaceOrientationMaskLandscapeLeft|UIInterfaceOrientationMaskLandscapeRight;
}
-(UIInterfaceOrientation)preferredInterfaceOrientationForPresentation{
    return UIInterfaceOrientationLandscapeLeft|UIInterfaceOrientationLandscapeRight;
}
@end
